home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 November / EnigmA AMIGA RUN 02 (1995)(G.R. Edizioni)(IT)[!][issue 1995-11][Skylink CD].iso / earcd / gfx / picview0.lha / PicView / Install < prev    next >
Text File  |  1995-05-31  |  3KB  |  100 lines

  1. (SET @default-dest "Work:")
  2. (SET default_lang 0)
  3.  
  4. (SET #needKick (CAT "\n'PicView' need Kickstart Version 39 at least." ) )
  5.  
  6. (SET #startMsg (CAT "\nWelcom to 'PicView' !\n\n"
  7.                      "This script installs 'PicView' on your AMIGA.\n\n") )
  8.  
  9. (SET #destPrompt "Please choose the destination directory for 'PicView'.")
  10.  
  11. (SET #copyPFiles "Copying program files")
  12.  
  13. (SET #langPrompt "Select the languages you wish to use with 'PicView'.")
  14.  
  15. (SET #DocPrompt "Select the directory for the documentation file.")
  16.  
  17. (SET #exitMsg (CAT "Much fun with 'PicView' wish you\n\n"
  18.                    "Holger Papajewski" ) )
  19.  
  20.  
  21. ; ******************* deutsche Texte *****************************
  22.  
  23. (IF (= @language "deutsch")
  24. (
  25. (SET default_lang 1)
  26.  
  27. (SET #needKick ( CAT "\n'PicView' benötigt mindestens die Kickstart-Version 39." ) )
  28.  
  29. (SET #startMsg (CAT "\nWillkommen bei 'PicView' !\n\n"
  30.                      "Diese Datei installiert 'PicView' auf ihrem AMIGA.\n\n") )
  31.  
  32. (SET #destPrompt "Wählen Sie bitte das Zielverzeichnis für 'PicView'" )
  33.  
  34. (SET #copyPFiles "Kopiere Programmdateien")
  35.  
  36. (SET #langPrompt "Wählen Sie die Sprachen, die Sie mit 'PicView' benutzen wollen.")
  37.  
  38. (SET #DocPrompt "Wählen Sie ein Verzeichnis, in welches die Dokumentation kopiert werden soll.")
  39.  
  40. (SET #exitMsg (CAT "Viel Spaß mit 'PicView' wünscht\n\n"
  41.                    "Holger Papajewski" ) )
  42. ))
  43.  
  44.  
  45. ; *************** Hier beginnt die Installation ******************
  46.  
  47. (if (< (/ (GETVERSION) 65536) 39)
  48.     (ABORT #needKick)
  49. )
  50.  
  51. (MESSAGE #startMsg)
  52.  
  53. (SET @default-dest
  54.     (ASKDIR (PROMPT  #destPrompt)
  55.             (HELP    askdir-help)
  56.             (DEFAULT @default-dest )))
  57.  
  58. (COPYFILES (SOURCE "PicView")
  59.            (HELP copyfiles-help)
  60.            (DEST @default-dest )
  61.            (INFOS)
  62. )
  63.  
  64.  
  65. (SET sprachen (ASKOPTIONS (PROMPT #langPrompt)
  66.                           (HELP   askoptions-help)
  67.                           (CHOICES "english"
  68.                                    "deutsch" )
  69.                           (DEFAULT (+ default_lang 1) )
  70.               )
  71. )
  72.  
  73. (if (IN sprachen 1)
  74.     (COPYFILES (SOURCE "Locale/deutsch/PicView.catalog")
  75.                (DEST "Locale:Catalogs/deutsch") )
  76. )
  77.  
  78. (SET @DocDir
  79.     (ASKDIR (PROMPT  #DocPrompt)
  80.             (HELP    askdir-help)
  81.             (DEFAULT @default-dest)
  82.             (NEWPATH)
  83.     )
  84. )
  85.  
  86. (if (= @language "english")  
  87.   (SET SDocDir "Docs/english")
  88. )
  89.   
  90. (if (= @language "deutsch")
  91.   (SET SDocDir "Docs/deutsch")
  92. )
  93.  
  94. (COPYFILES (SOURCE SDocDir)
  95.            (DEST   @DocDir)
  96.            (ALL)
  97. )
  98.  
  99. (EXIT #exitMsg )
  100.